package me.xingyannian.zhaopin.repository;

import me.xingyannian.zhaopin.entity.ChangCi;
import me.xingyannian.zhaopin.entity.PreExaminee;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface PreExamineeRepository extends JpaRepository<PreExaminee, Long> {
    Page<PreExaminee> findAllByChangCi(ChangCi changCi, Pageable pageable);

    void deleteAllByChangCi(ChangCi changCi);
}